package com.day16.Map1;

import java.util.Set;
import java.util.Map;
import java.util.HashMap;
public class MapDemo01 {
    public static void main(String[] args)
    {
        Map<String,String> map=new HashMap<String,String>();
        map.put("杨过","林青霞");
        map.put("张无忌","张曼玉");
        map.put("郭靖","王祖贤");
        Set<String> keySet=map.keySet();
        for(String key:keySet){
            String value=map.get(key);
            System.out.println(key+","+value);
        }


    }
}
